<%@page language="java"%>
<%@page contentType="text/html"%>
<%@page import="java.util.*, descriptor.*"%>

<jsp:include page="compsup_generic_pre.jsp" >
	<jsp:param name="pagesubtitle" value="Company Supervisor - Personnal Infos" />
</jsp:include>

	<jsp:useBean id="infos" class="java.lang.String" scope="request" />
	<div class="infos"><%= infos %></div>
	<jsp:useBean id="perso" class="descriptor.CompanySupDescriptor" scope="request" />
	<p>
		<form method="POST" action="companySup?action=perso_update" >
			<table>
				<tr><td>Email: </td><td><input name="email" type="text" value="<%= perso.getMail() %>"></td></tr>
				<tr><td>Old password: *</td><td><input type="password" name="oldPassword" value=""></tr>
				<tr><td>New password: *</td><td><input type="password" name="newPassword1" value=""></td></tr>
				<tr><td>Confirm new password: *</td><td><input type="password"  name="newPassword2" value=""></td></tr>
			</table>
			<input name= "button_submit"type="submit" value="Update" />
		</form>
	</p>
	
	
<jsp:include page="compsup_generic_post.jsp" ></jsp:include>		